<br/>
    <legend>Calificacion</legend>
    <?php if (isset($this->error)) : ?>
        <?php if ($this->error) : ?>
            <div class="alert alert-error alert-block">
                <button type="button" class="close" data-dismiss="alert">×</button>
                <?php echo $this->mensaje ?>
            </div>
        <?php else : ?>
            <div class="alert alert-success alert-block">
                <button type="button" class="close" data-dismiss="alert">×</button>
                <?php echo $this->mensaje ?>
            </div>
        <?php endif; ?>
    <?php endif; ?>
    <form method="post" action="<?php echo $this->baseUrl("usuarios/ajax/guardarinformejson/") ?>">
        <input type="hidden" name="persona_id" value="<?php echo $this->persona_id ?>" />
    <div class="row">
        <div class="span10">
            <div id="mensajeInforme"></div>
            <div class="control-group" style="display: inline-block;">
                <label class="control-label">Tipo Informe</label>
                <div class="controls">
                    <select  class="input-large" id="tipo_informe_id" name="tipo_informe_id" >
                        <?php foreach ($this->tiposInformes as $tipoInforme) { ?>
                            <option value="<?php echo $tipoInforme->getId(); ?>"><?php echo $tipoInforme->getDescripcion(); ?></option>
                        <?php } ?>
                    </select>
                </div>
            </div>
            <div class="control-group" style="display: inline-block;">
                <label class="control-label">Comentario</label>
                <div class="controls">
                    <textarea id="comentario_informe" name="comentario" class="span6"></textarea> 
                </div>
            </div>
            <div class="control-group" style="display: inline-block;">
                <div class="controls">
                    <button type="submit" class="btn btn-success">
                        <i class="icon-plus-sign icon-white"></i>Guardar</button>
                </div>
            </div>                
        </div>
    </div>
    </form>

